<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>员工列表</title>

        <style type="text/css">
            .row { width : 80% ; overflow : hidden ; border-bottom : 1px solid blue ; }
            .row>span { float : left ; width : 14% ; text-align : center ; height : 30px ; line-height : 30px ;  }
        </style>
    </head>
    <body>
        <h3>员工列表</h3>

        <div class="row">
            <span>编号</span>
            <span>姓名</span>
            <span>性别</span>
            <span>婚否</span>
            <span>入职日期</span>
        </div>

        #foreach( $emp in $employees )
        <div class="row">
            <span>${emp.id}</span>
            <span>${emp.name}</span>
            <span>${emp.gender}</span>
            <span>${emp.married}</span>
            <span>${emp.hireDate}</span>
            <span>
                修改
            </span>
            <span>
                <a href="/employee/remove/action/${emp.id}">删除</a>
            </span>
        </div>
        #end
    </body>
</html>